﻿#ifndef CRC16_H
#define CRC16_H

/* CRC余式表 */
extern const unsigned int crc_table[256];

//查表法计算crc
unsigned short do_crc_table(unsigned char *ptr, int len);

#endif // CRC16_H
